import pytest,os,time
from common import send_port




#     os.system('allure open -h 127.0.0.1 -p 8883 ./report/html/')









if __name__ == '__main__':
    pytest.main(["--alluredir=./report/xml","--clean-alluredir"])
    time.sleep(1)
    os.system("allure generate ./report/xml -o ./report/allure-report --clean")
    send_port.send_port()  #发送测试报告



